
public class Job {

	private Task task;
	private int release;
	private int time;
	private int response;
	private int initTime;
	private int start;
	
	public Job(Task task, int release, int time){
		
		this.task = task;
		this.release = release;
		this.time = time;
		
	}
	
	public Job(){
		
		start = -1;
	}

	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public int getRelease() {
		return release;
	}

	public void setRelease(int release) {
		this.release = release;
	}

	public int getTime() {
		return time;
	}

	public void setTime(int time) {
		this.time = time;
	}

	public int getResponse() {
		return response;
	}

	public void setResponse(int response) {
		this.response = response;
	}

	public int getInitTime() {
		return initTime;
	}

	public void setInitTime(int initTime) {
		this.initTime = initTime;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}
	
	public String toString()
	{
		return "time " + getTime() + " response " + getResponse() + " initTime " + getInitTime();
	}
}
